package com.example.sandbox.controller.order.model;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * 基础请求参数
 */
@Data
public class AbstractRQ implements Serializable {

    /**
     * 版本号
     **/
    @NotBlank(message = "Version number cannot be empty")
    protected String version;

    /**
     * 签名类型
     **/
    @NotBlank(message = "Signature type cannot be empty")
    protected String signType;

    /**
     * 签名值
     **/
    @NotBlank(message = "Signature value cannot be empty")
    protected String sign;

    /**
     * 接口请求时间
     **/
    @NotBlank(message = "The timestamp cannot be empty")
    protected String reqTime;

}
